package com.wsm.blog.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * 文章内容
 *
 * @author wangshimin
 * @email wangshiminhome@foxmail.com
 * @date 2020-02-14 14:00:46
 * @description : 文章内容
 */
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("blog_content")
public class ContentDO implements Serializable {
	private static final long serialVersionUID = 1L;

	//编号
	@TableId
	private Long cid;
	//标题
	private String title;
	//路径别名
	private String aliasName;
	//创建人id
	private Long created;
	//封面图
	private String cover;
	//内容
	private String content;
	//类型 1-图文，2-视频
	private Integer type;
	//标签
	private String tags;
	//分类
	private String categories;
	//是否置顶，1-是，0-否
	private Integer isTop;
	//是否推荐，1-是，0-否
	private Integer isRec;
	//阅读数量
	private Integer readNum;
	//开启评论
	private Integer allowComment;
	//允许推送
	private Integer allowPing;
	//状态 0草稿 1 发表
	private Integer status;
	//1-原创，2-转载
	private Integer origin;
	//作者
	private String author;
	//创建时间
	private Date gtmCreate;
	//修改时间
	private Date gtmModified;
	//
	private String seoKey;
	//
	private String seoDesc;
	//删除标记
	private int delFlag;

}
